import Component.AComponent;
import Component.TextComponent;
import Operator.AOperator;
import Operator.BigOperator;
import Operator.BooomOperator;

public class App {
    public static void main(String[] args) throws Exception {
        System.out.println("Hello, World!");
        TextComponent newText = new TextComponent();
        newText.SetText("字字字");
        AOperator bugOperator = new BigOperator(newText);
        bugOperator.Func();
        AOperator dubleBig = new BigOperator(bugOperator);
        dubleBig.Func();
        AOperator BooomOperator = new BooomOperator(newText);
        BooomOperator.Func();
    }
}
